package legumes.client.services.callbacks;

import legumes.client.services.LegumesServicesHelper;
import legumes.client.services.util.rpc.SequencableRPCCall;
import legumes.shared.domain.Store;

public class SaveStoreCallback extends SequencableRPCCall<Void> {

	private Store store;

	public SaveStoreCallback(Store store_) {
		store = store_;
	}

	@Override
	protected void doCall() {
		LegumesServicesHelper.LEGUMES_SERVICES.save(store, this);
	}

}